#ifndef SAVINGACCOUNT_HH
#define SAVINGACCOUNT_HH

#include <string>
#include <vector>
#include "Transaction.hh"
#include "BankAccount.hh"

class SavingsAccount : public BankAccount {
public:
    SavingsAccount(const std::string& id, const std::string& owner, double initialBalance = 0.0);
    bool deposit(double amount, const std::string& note = "") override;
    bool withdraw(double amount, const std::string& note = "") override;
    bool transferTo(BankAccount* destination, double amount, const std::string& note = "") override;
    std::string getAccountType() const override { return "Savings"; }
};

#endif